package net.maku.association.convert;

import net.maku.association.entity.InterestAssociationEntity;
import net.maku.association.vo.InterestAssociationVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 兴趣协会
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-04-26
*/
@Mapper
public interface InterestAssociationConvert {
    InterestAssociationConvert INSTANCE = Mappers.getMapper(InterestAssociationConvert.class);

    InterestAssociationEntity convert(InterestAssociationVO vo);

    InterestAssociationVO convert(InterestAssociationEntity entity);

    List<InterestAssociationVO> convertList(List<InterestAssociationEntity> list);

}